@charset "utf-8";
//文件上传弹窗公共样式


@import 'mixincommon';



.win-fileupload,.win-offlinepay{
    .container .win-content{
        width: 580px;
        margin-left: 330px;
    }
    .item-right{
        display: inline-block;
        width: 380px;
    }
    .form-item{
        .inputtext{
            width: 380px;
        }
    }
}

//文件上传弹窗
.win-fileupload{
    .form-item{
        .label{
            width: 140px;
            height: 36px;
            line-height: 36px;
            vertical-align: top;
        }
    }
    .file-state{
        height: 100px;
        border: 1px solid $borcolor;
        @include borradius(4px);
        font-size: 14px;
        resize: none;
        padding: 10px;
    }
    .select_list{
        top: 40px;
    }
}



//上传支付凭证弹窗
.win-offlinepay{
    .content-header{
        width: auto;
        height: auto;
        padding-bottom: 10px;
        border-bottom: 1px solid #dddddd;
        background-color: transparent;
    }
    .content-header,.offline-form{
        margin: 30px 30px 0;
    }
    .form-price{
        margin-bottom: 20px;
    }
    .upload-btn{
        display: block;
        width: 160px;
        height: 36px;
        line-height: 34px;
        background-color: transparent;
        border: 1px solid $acolor;
        @include borradius(4px);
        font-size: 14px;
        color: $acolor;
        text-align: center;
        cursor: pointer;
    }
}



//文件上传进度
.fileupload-wrapper{
   width: 100%;
   font-size: 0;
   margin-top: 20px;
   vertical-align: middle;
   .file-name-wrapper{
       display: inline-block;
       width: auto;
       max-width: 244px;
       color: $s3;
       vertical-align: middle;
       .file-name{
           display: inline-block;
           width: auto;
           max-width: 195px;
           font-size: 14px;
           @include textoverflow;
           vertical-align: middle;
        }
        .file-type{
            font-size: 14px;
            vertical-align: middle;
        }
   }
   .progress-wrapper{
       display: inline-block;
       width: 100px;
       height: 10px;
       border: 1px solid $acolor;
       margin-left: 10px;
       vertical-align: middle;
       .progress-bar{
           width: 0;
           height: 100%;
           background-color: rgba(0,160,233,.3);
       }
   }
   .filedel-btn{
       display: inline-block;
        width: 16px;
        height: 16px;
        background:url(../../img/list/icon-delete.png) no-repeat center;
        margin-left: 10px;
        cursor: pointer;
        vertical-align: middle;
   }
}